<?php
#=== paths =====================================================================
#defined('INNER_DIR')        || define('INNER_DIR',      dirname(__FILE__).'/');
#defined('LIB_ROOT')         || define('LIB_ROOT',       INNER_DIR . 'lib/'   );
#defined('INTERFACE_ROOT')   || define('INTERFACE_ROOT', INNER_DIR . 'interface/');
#defined('MODULES_ROOT')     || define('MODULES_ROOT',   INNER_DIR . 'modules/');
#defined('VIEW_ROOT')        || define('VIEW_ROOT',      INNER_DIR . 'views/');
#defined('CFG_ROOT')         || define('CFG_ROOT',       INNER_DIR . 'cfg/');
#defined('LIB51_ROOT')       || define('LIB51_ROOT',     INNER_DIR . '../fiveonelib/');

#=== www constants =============================================================
defined('DOMAIN_URL_ACT')	||	define('DOMAIN_URL_ACT', 'http://act.xx5.com');
defined('DOMAIN_URL')		||	define('DOMAIN_URL', DOMAIN_URL_ACT.'/'.ACT_NAME);

defined('STATIC_FILE_URL')	||	define('STATIC_FILE_URL', 'http://static.51img1.com/game');
defined('STYLE_URL')		||	define('STYLE_URL', STATIC_FILE_URL.'/style/');
defined('SCRIPT_URL')		||	define('SCRIPT_URL', STATIC_FILE_URL.'/js/');
defined('PIC_URL')			||	define('PIC_URL', STATIC_FILE_URL.'/act/'.ACT_NAME.'/images/');
defined('JS_URL')			||	define('JS_URL', STATIC_FILE_URL.'/act/'.ACT_NAME.'/js/');
defined('CSS_URL')			||	define('CSS_URL', STATIC_FILE_URL.'/act/'.ACT_NAME.'/style/');

defined('PROJECT_VERSION')	||	define('PROJECT_VERSION', '?V=20130716001');

//	定义字体的最大型号
defined('FONT_MAX_SIZE')	||	define('FONT_MAX_SIZE', 6);
//	定义字体的最小型号
defined('FONT_MIN_SIZE')	||	define('FONT_MIN_SIZE', 1);
//	定义图片的最大宽度
defined('IMG_MAX_WIDTH')	||	define('IMG_MAX_WIDTH', 560);
//	定义图片的最大高度
defined('IMG_MAX_HEIGHT')   ||	define('IMG_MAX_HEIGHT', 560);

define('XDEBUG',	false);  // global debug switch

//	是否启用memcache
defined('MC_USED')					||	define('MC_USED', true);
define('REG_MOBILE_ACTIVE_KEY','87rewEWR&*&234jk%#d');

#=== initiali application ======================================================
//session_start();
date_default_timezone_set("Asia/Shanghai");
#=== All done ==================================================================
//大区
define('DOMAIN_ACT_ZONEID_KEY', basename(ACT_NAME).'_zone');
//是否把原电2区转为电3用户
define('IS_USED_ROLEID_CHANGE',false);

?>